package com.dada.tiku.dao.mapper;

import com.dada.tiku.pojo.PaperCategory;
import com.dada.tiku.pojo.PaperCategoryExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface PaperCategoryMapper {
    int countByExample(PaperCategoryExample example);

    int deleteByExample(PaperCategoryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PaperCategory record);

    int insertSelective(PaperCategory record);

    List<PaperCategory> selectByExample(PaperCategoryExample example);

    PaperCategory selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PaperCategory record, @Param("example") PaperCategoryExample example);

    int updateByExample(@Param("record") PaperCategory record, @Param("example") PaperCategoryExample example);

    int updateByPrimaryKeySelective(PaperCategory record);

    int updateByPrimaryKey(PaperCategory record);
}